import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入 vant
import Vant, { Lazyload, PasswordInput, NumberKeyboard } from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant);
Vue.use(Lazyload);
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);


import { Area } from 'vant';
Vue.use(Area);

//引入 axios
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)
axios.defaults.baseURL = 'http://127.0.0.1:3000'

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')